﻿<UserControl x:Class="VSTranslator.Adornment.TranslationItemControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
			 Cursor="Hand" Padding="2"
			 Style="{DynamicResource MouseOver}"
			 ToolTip="Click to replace foreign text with this translation"
			 MouseUp="Paste_Click">
	
	<TextBlock x:Name="txtText" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top"  />
		
	<UserControl.Resources>
		<Style x:Key="MouseOver" TargetType="{x:Type UserControl}">
			<Style.Triggers>
				<Trigger Property="IsMouseOver" Value="True">
					<Setter Property="Background">
						<Setter.Value>
							<SolidColorBrush Color="#FFB0CBF1"/>
						</Setter.Value>
					</Setter>					
				</Trigger>
			</Style.Triggers>
		</Style>
	</UserControl.Resources>

</UserControl>
